import Vue from 'vue'
import App from './App.vue'
import router from "./router";
import store from'./store'
import toast from './components/common/toast'

import FastClick from 'fastclick' /*解决移动端双击缩放带来的点击300ms延迟*/
FastClick.attach(document.body);

import VueLazyload from "vue-lazyload";

Vue.config.productionTip = false;

Vue.prototype.$bus = new Vue();

//会调用toast的install方法
Vue.use(toast);
Vue.use(VueLazyload);

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app');
